package com.kmwiki.Server;
import java.io.IOException;
import javax.servlet.http.*;

@SuppressWarnings("serial")
public class Go extends HttpServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
		resp.setContentType("text/plain");
		resp.getWriter().println("Hello, Go");
	}
}

//String servername = InetAddress.getLocalHost().getHostName();
//
//String currUrl = "";//req.getRequestURL().toString();
////currUrl = InetAddress.getLocalHost().toString();
//
//currUrl += "getLocalAddr"+  req.getLocalAddr()+"<br>";
//currUrl += "getLocalName"+  req.getLocalName()+"<br>";
//currUrl += "getServerPort"+  req.getServerPort()+"<br>";
//currUrl += "getRequestURL"+  req.getRequestURL()+"<br>";
//
//String id = myString.CheckNull(req.getParameter("id"),"108979762451884041474");
//String key = myString.CheckNull(req.getParameter("key"),"AIzaSyCAl1_DeqeCDGe2EBg18K8Js9Si959V7xk");
//
//String content = "";
//String urlstr = String.format("http://localhost:8802/jsonprofile?id=%1$s&key=%2$s" , id, key);
////urlstr = "http://localhost:8802/jsonprofile";
//myHttp mHttp = new myHttp();
////content = mHttp.getURL(urlstr);
//resp.setContentType("text/html; charset=utf-8");
//resp.getWriter().println("Hello," + currUrl + ":" + urlstr + content);


//resp.setContentType("text/plain");
//resp.getWriter().println("Hello, Gplus");